package com.huilian.iotbox.admin.wap.dao;

import com.huilian.iotbox.data.dto.DeviceAnnualFeeRecordDto;
import com.huilian.iotbox.data.po.DeviceAnnualFeeRecord;
import com.huilian.iotbox.data.vo.DeviceAnnualFeeRecordVo;

import java.util.List;

/**
 * @author: loong
 * @create: 2024-06-25 18:12
 **/
public interface DeviceAnnualFeeRecordDao {
    void add(DeviceAnnualFeeRecord deviceAnnualFeeRecord);

    DeviceAnnualFeeRecordVo findByOutTradeNoAndTotalAmount(DeviceAnnualFeeRecordDto deviceAnnualFeeRecordDto);

    void update(DeviceAnnualFeeRecord updateDeviceAnnualFeeRecord);

    List<DeviceAnnualFeeRecordVo> findList(DeviceAnnualFeeRecordDto deviceAnnualFeeRecordDto);
}
